using System;
using Game.Scripts.ScriptableObject;
using Game.Scripts.Service;
using UnityEngine;
using Zenject;

namespace Game.Scripts.Animation
{
    public class DollyEventHandler : MonoBehaviour
    {
        private GameService _gameService;

        [Inject]
        public void Construct(GameService gameService)
        {
            _gameService = gameService;
        }

        public void StartGame()
        {
            _gameService.StartGame();
        }
    }
}